package com.ubigate.CooknaviHA;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class MetewandActivity extends Activity implements OnClickListener{
	@SuppressWarnings("unused")
	private static final String TAG = "MetewandActivity";

	/** Left side shorcut menu **/
	ImageButton btnSCTimer;
	ImageButton btnSCVolume;
	ImageButton btnSCHome;
	ImageButton btnSCBack;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.metewand);
        
        //LinearLayout layout = (LinearLayout)findViewById(R.id.metewand);
        //layout.setOnTouchListener(this);
 
        // Left side shorcut menu
//        btnSCTimer 	= (ImageButton) findViewById(R.id.btnsctimer);
//        btnSCVolume = (ImageButton) findViewById(R.id.btnscvolume);
//        btnSCHome 	= (ImageButton) findViewById(R.id.btnschome);
//        btnSCBack 	= (ImageButton) findViewById(R.id.btnscback);
//        
//        btnSCTimer.setOnClickListener(this);
//        btnSCVolume.setVisibility(View.GONE);
//        btnSCHome.setOnClickListener(this);
//        btnSCBack.setOnClickListener(this);       
    }
	
	@SuppressWarnings("unused")
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		int viewId = v.getId();
		Intent intent;
		switch (viewId) {
        // Left side shorcut menu
//		case R.id.btnsctimer:
//			Log.d(TAG,"타이머");
//			intent = new Intent(MetewandActivity.this, TimerActivity.class);
//	        startActivity(intent);
//			break;
//		case R.id.btnschome:
//			intent = new Intent(MetewandActivity.this, CooknaviPlayerActivity.class);
//			intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
//			startActivity(intent);
//			finish();
//			break;
//		case R.id.btnscback:
//    		onBackPressed();
//			break;
		}		
	}
}
